<?xml-stylesheet href="xsltforms/xsltforms.xsl" type="text/xsl"?>
<!--?xsltforms-options debug="yes"?-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:xs="http://www.w3.org/2001/XMLSchema"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:xforms="http://www.w3.org/2002/xforms"
	xmlns:ev="http://www.w3.org/2001/xml-events"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<head>
	<title>Management Perusahaan</title>
	<meta charset="UTF-8" />
	<xforms:model>
		<xforms:submission id="submit1" action="./views/data/entity.xml" replace="none" method="put" >
		</xforms:submission>
		<xforms:instance id="entity" src="./views/data/entity.xml" />
		<xforms:bind id="kodeEntitas" nodeset="/entity/kodeEntitas" />
		<xforms:bind id="namaEntitas" nodeset="/entity/namaEntitas" />
		<xforms:bind id="alamat1" nodeset="/entity/alamat1" />
		<xforms:bind id="alamat2" nodeset="/entity/alamat2" />
		<xforms:bind id="kodePos" nodeset="/entity/kodePos" />
		<xforms:bind id="telp" nodeset="/entity/telp" />
		<xforms:bind id="parentId" nodeset="/entity/parentId" />
	</xforms:model>
	<link rel="stylesheet" href="styles/mobi_styles.css"/>
</head>
<body>
<!-- 
	<xforms:bind id="kodeEntitas" nodeset="/entity/kodeEntitas" />
	<xforms:bind id="namaEntitas" nodeset="/entity/namaEntitas" />
	<xforms:bind id="alamat1" nodeset="/entity/alamat1" />
	<xforms:bind id="alamat2" nodeset="/entity/alamat2" />
	<xforms:bind id="kodePos" nodeset="/entity/kodePos" />
	<xforms:bind id="telp" nodeset="/entity/telp" />
	<xforms:bind id="parentId" nodeset="/entity/parentId" />
-->
	<xforms:group>
	 <table>
		<tr><td colspan="2">Kode Perusahaan</td><td>
			<xforms:input bind="kodeEntitas">
			</xforms:input>
		</td></tr>
		<tr><td colspan="2">Nama Perusahaan</td><td>
			<xforms:input bind="namaEntitas">
			</xforms:input>
		</td></tr>
		<tr><td colspan="2">Alamat 1</td><td>
			<xforms:input bind="alamat1">
			</xforms:input>
		</td></tr>
		<tr><td colspan="2"></td><td>
			<xforms:input bind="alamat2" />
		</td></tr>
		<tr><td colspan="2">Kode Pos</td><td>
			<xforms:input bind="kodePos">
		</xforms:input>
		</td></tr>
		<tr><td colspan="2">No. Telp</td><td>		
			<xforms:input bind="telp">
			</xforms:input>
		</td></tr>
		<tr><td colspan="2">Perusahaan Utama</td><td>
			<xforms:input bind="parentId">
			</xforms:input>
		</td></tr>
	</table>
		<!--  
		<xforms:select1 bind="entity" appearance="min">
			<xforms:label>Perusahaan</xforms:label>
			<xforms:itemset nodeset="instance('select')/entity">
				<xforms:value ref="uuid" />
				<xforms:label ref="namaEntitas" />
			</xforms:itemset>
		</xforms:select1>
		-->
	</xforms:group>
	<xforms:trigger>
		<xforms:label>SAVE</xforms:label>
		<xforms:send submission="submit1"/>
	</xforms:trigger>
</body>
</html>
